package com.galeno.day03.transfer;

import com.galeno.FlinkUtils;
import org.apache.flink.api.java.tuple.Tuple2;
import org.apache.flink.configuration.Configuration;
import org.apache.flink.streaming.api.datastream.DataStreamSource;
import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;

/**
 * @author galeno
 * @Title:
 * @Description:
 * @date 2021/10/1710:36
 */
public class KeyByDemo {
    public static void main(String[] args) {
        Configuration conf = new Configuration();
        conf.setInteger("rest.port",8081);
        StreamExecutionEnvironment locEnvWebUI = FlinkUtils.getLocEnvWebUI(conf);
        DataStreamSource<String> lines = locEnvWebUI.socketTextStream(FlinkUtils.LinuxURL, FlinkUtils.port);






    }
}
